
package com.jml.apollo;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Configuration;


//@Configuration
//开启apollo读取配置
@EnableApolloConfig
@EnableEurekaClient
@SpringBootApplication
public class ApolloBoot {

	public static void main(String[] args) {
		SpringApplication.run(ApolloBoot.class, args);
	}

}
